//
//  UIViewController+PlaceHolder.h
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/19.
//  Copyright © 2018年 Future. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (PlaceHolder)

@property (nonatomic,strong)UIView *contenView;
@property (nonatomic,strong)UIImageView *contentImageView;
@property (nonatomic,strong)UILabel *messageLabel;
@property (nonatomic,strong)UIButton *reFreshButton;

- (void)showNoContentViewWithHint:(NSString*)hint
                refreshButtonText:(NSString*)buttonText
                 andRefreshButton:(SEL)action
                           onView:(UIView*)view;

- (void)showNoContentViewWithHint:(NSString*)hint
                refreshButtonText:(NSString*)buttonText
                 andRefreshButton:(SEL)action
                           onView:(UIView*)view
         andPlaceHolderImageImage:(UIImage*)holderImage;

- (void)showImageText:(NSString *)hint
               onView:(UIView *)view
  andPlaceHolderImage:(UIImage *)holderImage;

- (void)hidePlaceHolder;

@end
